package com.syyo.utils;


import com.syyo.domain.ResultVo;

/**
 * @Auther: wang
 * @Date: 2020/1/8 17:28
 * @Description: 封装的返回类
 */
public class ResultUtils {

    public static ResultVo ok(Object obj){
        ResultVo<Object> resultVo = new ResultVo<Object>();
        resultVo.setData(obj);
        resultVo.setCode(200);
        resultVo.setMessage("成功");
        return resultVo;
    }
}
